import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './mock'
import plugins from '@/components/plugins'
import '@/assets/css/reset.css'
import '@/plugins/element'
import '@/utils/validate'

import VueLazyLoad from 'vue-lazyload'
import loading from '@/assets/image/lazy.jpg'

Vue.use(VueLazyLoad, {
  loading
})

Vue.use(plugins)
Vue.config.productionTip = false

new Vue({
  beforeCreate () {
    Vue.prototype.$eventBus = this
  },
  router,
  store,
  render: h => h(App)
}).$mount('#app')
